import Layout from '@/layout'
const DeviceManagementRouter = {
  path: '/DeviceManagement',
  component: Layout,
  redirect: '/DeviceManagement',
  name: 'DeviceManagement',
  alwaysShow: true,
  meta: {
    title: '设备管理',
    icon: 'deviceManagement'
  },
  
  children: [
    {
      path: 'DeviceList',
      component: () => import('@/views/DeviceManagement/DeviceList/index.vue'),
      name: 'DeviceList',
      meta: { title: '设备列表' }
    },
    {
      path: 'GatewayList',
      component: () => import('@/views/DeviceManagement/GatewayList/index.vue'),
      name: 'GatewayList',
      meta: { title: '网关列表' }
    },
    {
      path: 'DevicePermissionList',
      component: () => import('@/views/DeviceManagement/DevicePermissionList/index.vue'),
      name: 'DevicePermissionList',
      meta: { title: '设备权限设置' }
    },
    {
      path: 'WxDeviceList',
      component: () => import('@/views/DeviceManagement/WxDeviceList/index.vue'),
      name: 'WxDeviceList',
      meta: { title: '微信端设备列表' }
    }
  ]
}

export default DeviceManagementRouter
